package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.LeaveOut;

/**
 * 请假Service接口
 * 
 * @author ruoyi
 * @date 2023-12-15
 */
public interface ILeaveOutService 
{
    /**
     * 查询请假
     * 
     * @param leaveID 请假主键
     * @return 请假
     */
    public LeaveOut selectLeaveOutByLeaveID(Long leaveID);

    /**
     * 查询请假列表
     * 
     * @param leaveOut 请假
     * @return 请假集合
     */
    public List<LeaveOut> selectLeaveOutList(LeaveOut leaveOut);

    /**
     * 新增请假
     * 
     * @param leaveOut 请假
     * @return 结果
     */
    public int insertLeaveOut(LeaveOut leaveOut);

    /**
     * 修改请假
     * 
     * @param leaveOut 请假
     * @return 结果
     */
    public int updateLeaveOut(LeaveOut leaveOut);

    /**
     * 批量删除请假
     * 
     * @param leaveIDs 需要删除的请假主键集合
     * @return 结果
     */
    public int deleteLeaveOutByLeaveIDs(String leaveIDs);

    /**
     * 删除请假信息
     * 
     * @param leaveID 请假主键
     * @return 结果
     */
    public int deleteLeaveOutByLeaveID(Long leaveID);
}
